package cn.iocoder.yudao.module.lfd.controller.admin.productitem.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.math.BigDecimal;
import javax.validation.constraints.*;

/**
* 理发子项 Base VO，提供给添加、修改、详细的子 VO 使用
* 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
*/
@Data
public class ProductItemBaseVO {

    @Schema(description = "名字", required = true, example = "王五")
    @NotNull(message = "名字不能为空")
    private String name;

    @Schema(description = "排序", required = true)
    @NotNull(message = "排序不能为空")
    private Integer sort;

    @Schema(description = "父类id", required = true, example = "24639")
    @NotNull(message = "父类id不能为空")
    private Integer parentId;

    @Schema(description = "需要花费多少时间", required = true)
    @NotNull(message = "需要花费多少时间不能为空")
    private Integer costTime;

    @Schema(description = "钱", required = true)
    @NotNull(message = "钱不能为空")
    private BigDecimal money;

    @Schema(description = "积分", required = true)
    @NotNull(message = "积分不能为空")
    private Double integral;

    private Long shopId;
}
